import React, { Component } from 'react';
import searchimg from '../../../assets/images/search.png'
import {Divstyled} from './style'
import {withRouter} from 'react-router-dom'

class search extends Component {
    render() {
        console.log(this.props.history)
        return (
            <Divstyled onClick={()=>{}}>
              <img src={searchimg} alt=""/><span>你想吃啥?老八秘制小汉堡?</span>
            </Divstyled>
        );
    }
}

export default withRouter(search);
